//
//  LATexttPolylineRenderer.h
//  LAMapBasicDemo
//
//  Created by 罗亮富 on 2018/6/27.
//  Copyright © 2018年 2Bulu. All rights reserved.
//

#import <MapKit/MapKit.h>

@interface LATexttPolylineRenderer : MKPolylineRenderer
@property (nonatomic,copy) NSString *text;

#if TARGET_OS_IPHONE
//需要调用-setNeedsDisplay方法来更新
@property (nonatomic,copy) UIFont *font;
@property (nonatomic,copy) UIColor *textColor;//default is the same to strokeColor
@property (nonatomic,copy) UIColor *textBackgroundColor; //default is nil
#else
//需要调用-setNeedsDisplay方法来更新
@property (nonatomic,copy) NSFont *font;
@property (nonatomic,copy) NSColor *textColor;//default is the same to strokeColor
@property (nonatomic,copy) NSColor *textBackgroundColor; //default is nil
#endif
@end
